﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Cashier_Model
{
    [Table(Tablename = "purview")]
    public class Purview: BaseModel
    {      
        private Int64 id;

        [Table(Columnname = "id", Columntype = "bigint", Iscondition = true, Iskey = true, Isdeletefield = true)]
        public Int64 Id
        {
            get { return id; }
            set { id = value; }
        }

        private String name;

        [Table(Columnname = "name", Columntype = "varchar", Isupdatefield = true)]
        public String Name
        {
            get { return name; }
            set { name = value; }
        }

        private String code;

        [Table(Columnname = "code", Columntype = "varchar", Iscondition=true, Isupdatefield = true)]
        public String Code
        {
            get { return code; }
            set { code = value; }
        }

        private String action;

        [Table(Columnname = "action", Columntype = "varchar", Isupdatefield = true)]
        public String Action
        {
            get { return action; }
            set { action = value; }
        }

        private String formname;

        [Table(Columnname = "formname", Columntype = "varchar", Isupdatefield = true)]
        public String Formname
        {
            get { return formname; }
            set { formname = value; }
        }

        private String description;

        [Table(Columnname = "description", Columntype = "varchar", Isupdatefield = true)]
        public String Description
        {
            get { return description; }
            set { description = value; }
        }
    }
}
